<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p{
            margin-top:50px;
            width: 300px;
            height: 100px;
        }
        .p1{
            border: 2px red solid;
        }
        .p2{
            overflow: hidden;
            border: 2px red solid;

        }
        .p3{
            overflow:scroll;
            border: 2px green solid;

        }
        .p4{
            overflow:visible;
            border: 2px blue solid;

        }
    </style>
</head>
<body>
    <P class="p1">Lorem ipsum dolor sit, amet consectetur adipisicing elit. Fugit labore eius, ipsam dolores alias quae, quasi aut vitae et dolor accusantium ea. Sequi earum accusantium consequuntur fugit, illum doloremque ut!</P>
    <P class="p2">Lorem ipsum dolor sit, amet consectetur adipisicing elit. Fugit labore eius, ipsam dolores alias quae, quasi aut vitae et dolor accusantium ea. Sequi earum accusantium consequuntur fugit, illum doloremque ut!</P>
    <P class="p3">Lorem ipsum dolor sit, amet consectetur adipisicing elit. Fugit labore eius, ipsam dolores alias quae, quasi aut vitae et dolor accusantium ea. Sequi earum accusantium consequuntur fugit, illum doloremque ut!</P>
    <P class="p4">Lorem ipsum dolor sit, amet consectetur adipisicing elit. Fugit labore eius, ipsam dolores alias quae, quasi aut vitae et dolor accusantium ea. Sequi earum accusantium consequuntur fugit, illum doloremque ut!</P>
</body>
</html>